package cn.hsa.fqz.task.service;

import cn.hsa.fqz.task.entity.TUserMappingDO;
import cn.hsa.fqz.task.service.dto.UserMappingMinDTO;
import cn.hsa.hsaf.core.framework.util.CurrentUser;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *
 */
public interface TUserMappingService extends IService<TUserMappingDO> {

    boolean saveOrUpdateCurrentUser(CurrentUser currentUser);

    List<TUserMappingDO> getUserMappingByName(String name);

    List<UserMappingMinDTO> getAllUserMapping();
}
